package com.ctrip.ibu.permissions.security.service;


import com.ctrip.ibu.permissions.security.dto.AuthDto;
import com.ctrip.ibu.permissions.security.dto.UserDto;

import java.util.Map;

/**
 * description
 *
 * @author r.shi 2020/02/26 15:46
 */
public interface AuthService {

    Map<String, Object> login(String username, String password);

    void logout();

    UserDto info();

    void registry(AuthDto user);
}
